package com.bootdo.wechat.dao;

import com.bootdo.wechat.domain.MpFansDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author songjw
 * @email songjw1993@126.com
 * @date 2018-08-03 12:19:13
 */
@Mapper
public interface MpFansDao {

	MpFansDO selectFansByOpenId(String openId);

	MpFansDO get(String id);
	
	List<MpFansDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MpFansDO mpFans);
	
	int update(MpFansDO mpFans);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
